package com.biglead.demo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
public class SecKillMessage implements Serializable {
    Long userId;
    Long goodsId;

    public SecKillMessage(Long userId, Long goodsId) {
        this.userId = userId;
        this.goodsId = goodsId;
    }
}
